home *** CD-ROM | disk | FTP | other *** search
- Path: news.polymtl.ca!news
- From: Louis-Dominique Dubeau <ldd@step.polymtl.ca>
- Newsgroups: comp.lang.modula3,comp.lang.c++,comp.lang.java
- Subject: Re: Java closer to Modula-3 than to C++
- Date: Fri, 01 Mar 1996 10:30:46 -0500
- Organization: Ecole Polytechnique de Montreal
- Message-ID: <31371826.60F278B8@step.polymtl.ca>
- References: <31308FE2.167E@sophia.inria.fr>
- <1996Feb26.192508.2614@friend.kastle.com>
- <nelsoni.825385012@rintintin.Colorado.EDU> <xn17mx9fnt6.fsf@renoir.cs.columbia.edu>
- NNTP-Posting-Host: pcmd2.grm94.polymtl.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.3.45 i586)
-
- Blair MacIntyre wrote:
- > C++ give you all kinds of "control" and "power" by allowing you to
- > apparently do all kinds of variations and nit-picky things that allow
- > you to "optimize" your programs.
-
- This is the job of the compiler.
-
- > The most common reason I get for using C++, when I try to convince
- > people that they should learn Modula-3 instead, is that C++ gives them
- > more power and control.
-
- Have you heard about assembly? BTW, if for some reason there is
- something you have to do in C or assembly, you can call it from M3 code.
-
- > Modula-3 doesn't have constructors/destructors,
-
- Where's the problem?
-
- > GC is evil because it has lots of overhead,
-
- Can you support this affirmation?
-
- > you can do threads in C++,
-
- True but C++ does not have the nice mutex control statements of
- Modula-3.
-
- > no multiple inheritance
-
- Have you heard about aggregates. Besides I can't remember when was the
- last time I neede multiple inheritance.
-
- > C++ has exceptions now, etc etc.
-
- That's new.
-
- > People don't
- > seem to be as concerned about things like suitability to building
- > large programs, distributed programs, working programs, robust
- > programs, etc etc.
-
- This is why they go bankrupt.
-
- ldd
-
- -- Louis-Dominique Dubeau == Home page: http://step.polymtl.ca/~ldd/ --
-